


<link rel="stylesheet" href="<?php echo base_url()?>public_html/css/bitly_compressed.css" type="text/css"  />

<link rel="icon" type="image/png" href="<?php echo base_url()?>public_html/img/favicon.png" />
<style type="text/css">
.mobile_promo_link {
height: 250px;
width: 300px;
display: block;
}
</style>
<script>
//var domainInfo=[{name:'www.a.com'},{name:'www.a.com'},{name:'www.a.com'}]
<?php
 //$domainInfo="[{id:'0',name:'www.a.com'},{id:'1',name:'www.a.com'},{id:'2',name:'www.a.com'}]"
 ?>
var domainInfo=<?php echo $domain ?>;
domainInfo=eval(domainInfo);
//alert(domainInfo);
$(document).ready(function(){
	$("#domain").autocomplete(domainInfo, {
		minChars: 0,
		mustMatch: true,
		width: 350,
		matchContains: true,
		selectFirst: true,
		cacheLength: 1,
		autoFill: false,
		matchCase: true,
		formatItem: function(row, i, max) {
			return i + "/" + max + ": " + row.name;
		//	return  row.name;
		},
		formatMatch: function(row, i, max) {
			return  row.name ;
		},
		formatResult: function(row) {
			return row.name;
		}
	}).result(function(event, data, formatted) {
		if ($(this).val() == "") {
			$(this).val("");
			$("#domain").html(data['name']);
		}else{
			$("#domain").html("");
		}
	});	
	setTimeout(memOnwerUrl,500);
});	
function memOnwerUrl(){
	$("#memOnwerUrl").load('../../../../urlshort/urlform/memOnwerUrl')
}
</script>
</head>
<body class="">

<div class="ext_bitly_chrome_promo_delay promo">
</div>



<div id="external_container">
<div id="container">
<!-- Put Content Here -->
<div id="top">

<div id="header" class="clearfix">
<a id="logo" class="logo" href="/">bitly</a>

<form id="search_form" action="/a/search" method="GET">
<fieldset>
<input class="text rounded" type="text" name="q" id="q" value="search your bitly links" />
<input class="submit" type="submit" value="Search Links" />
</fieldset>
</form>

<ul id="main_nav" class="clearfix">

<li class="active">
<a href="/">Shorten &amp; Share</a>
</li>
<li class="">
<a href="/a/analyze">Analyze</a>
</li>


<li class="">
<a href="/u/wosiwo">Public Timeline</a>
</li>

</ul>

<div id="loginContainer">
<a class="user_link" href="/a/account"><span class="user_avatar rounded" style="background-image: url(../../../../../../urlshort/public_html/img/wosiwo.png);"></span><span class="display_name">wosiwo</span></a>

<ul class="user_links roundbtm">
<!-- ı is option shift b -->
<li>
<a href="/pages/tools">Tools</a>
</li>
<li>
<a href="/pages/sidebar">Shorten Everywhere</a>
</li>
<li>
<a href="/a/recover_links">Link Archive</a>
</li>
<li>
<a href="/a/help">Help</a>
</li>


<li>
<a href="/a/account">Settings</a>
</li>


<li><a href="/a/sign_out">Sign Out</a></li>

</ul>
</div>


</div>


</div> <!-- end #top -->
<div id="middle">





<div id="middleContainerLevel1">
<div class="shortenRightRailPromo">



<a class="mobile_promo_link" href="http://blog.bit.ly/post/3941676281/bitlys-got-a-brand-new-mobile-site" target="_blank">
<img src="<?php echo base_url()?>public_html/img/mobile-promo.png" width="300" height="250" />
</a>


</div>
<div id="mainShortenContainer">
<div class="type_container" id="mainShortenContainerInner">
<div class="replaceWithBentoBoxInsidePlugin">
	<div class="shortenBentoBox">
		<div class="shareContainer">
			<form action="<?php echo base_url()?>index.php/urlform/memUrlSub" method="post" id="memUrlSub" accept-charset="utf-8">
						<div class="shareTextBoxContainer">
					<div id="shareTextCounterBox">140</div>
						<textarea id="purposeUrl" tabindex="1" name="u" class="shareMessage"></textarea>
					</div>
					<div class="inputButton clearfix">
						<div id="shareOnSocialNetworkSignInButton" class="basicShareButtonContainer white_button">
							<a title="Sign In to share on Twitter" href="#">Sign In</a>
						</div>
						<div class="shortenButtonBox">
							<div class="shortenButtonBoxInputContainer"><input title="Shorten your link" type="submit" class="white_button" tabindex="2" id="manuallyShortenButton" name="" value="Shorten"></div>
						</div>
						<div id="domain_pref_container">
						<fieldset class="clearfix"><label for="domain_preference">Shorten With:</label>
						<!-- 	<div class="cb_select _jqcb" id="domain_preference_cb">
								<div class="cb_selected" style="width: 256px; "><span class="cb_title">www.a.com</span><span class="cb_handle"></span><div style="clear: both; "></div></div>
								<ul class="cb_select_options" style="width: 256px; display: none; "><li class="_jqcbo">www.a.com</li><li class="_jqcbo">www.a.com</li><li class="_jqcbo">www.a.com</li><li class="create_custom _jqcbo">Set up your own custom domain...</li></ul>
							</div>
							<select name="domain_preference" id="domain" style="position: absolute; left: -99999px; height: 1px; width: 1px; overflow-x: hidden; overflow-y: hidden; ">
								<option value="www.a.com" selected="selected">www.a.com</option>
								<option value="www.b.com">www.b.com</option>
								<option value="www.url.net">www.url.net</option>
								<option value="custom" class="create_custom">Set up your own custom domain...</option>
								</select>
						 -->
						 <input  id="domain" name="domain" type="text" value="<?php echo set_value('purposeUrl'); ?>" size="20"/>/<input type="text" name="shorturl" id="shorturl" value="<?php echo set_value('shorturl'); ?>"  size="5"/>
						</fieldset>
						</div>
					</div>
			</form>
			<div class="shortenedBitlyListListBox"><div class="linkCapsule_link clearfix"><strong class="shortened_url">Shortened links</strong><strong class="realtime_stats">Real-time stats</strong><strong class="long_link">Long link</strong></div>
				<ul class="shortened_results_list"></ul>
				<form class="bento_box_bundle clearfix" action="/data/create_bundle" method="POST"><input type="hidden" name="hashes" id="bento_box_bundle_hashes" value=""><input type="hidden" name="_xsrf" value="ec12d1603d7c4596b4f9c6965343a946"><input type="submit" class="white_button" value="Bundle"></form>
			</div>
			<div class="hr"><hr></div>
			
		</div>
		
	</div>
	<div class="bentoBoxOptions"><div class="shortenOptionsTopLevel bentoOptionsClosed"><div id="activeServicesTopLevel"></div><a class="shortenOptionsAction" title="Manage Shorten Box and Social Sharing" href="#">Share settings</a></div></div>
	<div class="hr"><hr></div>
</div>
</div>
</div>
<div class="hr"><hr /></div>
</div>

<div id="memOnwerUrl" class="resultsContainer">
<div id="historyHeadline"></div>
<div id="weeklySparkLines"></div>
<div id="results">
<div id="preloaderContainer"><img src="<?php echo base_url()?>public_html/img/64_64_blue_preloader.gif" alt="" border="0" width="64" height="64" /></div>
</div> <!-- end #resultsContainer -->
</div>



</div> <!-- END #middle -->
<div id="bottom">


<div class="footerLinksContainer clearfix">
<div class="footerColumn">
<h2>bitly</h2>
<ul>
<li><a href="/pages/help">Help</a></li>
<li><a href="/pages/tools">Tools</a></li>
<li><a href="/pages/partners">Partners</a></li>
<li><a href="http://api.bitly.com">API</a></li>


</ul>
</div>
<div class="footerColumn">
<h2>bitlyverse</h2>
<ul>
<li><a href="http://bitlyenterprise.com/">Bitly Enterprise</a></li>
<li><a href="http://news.me/">news.me</a></li>
<li><a href="http://labs.bitly.com/">bitly labs</a></li>
<li><a href="http://word.bitly.com/">Engineering Blog</a></li>
</ul>
</div>
<div class="footerColumn">
<h2>Company</h2>
<ul>
<li><a href="/pages/about">About</a></li>
<li><a href="http://blog.bit.ly">Blog</a></li>
<li><a href="/pages/jobs">Jobs</a></li>
<li><a href="/pages/privacy">Privacy</a></li>
<li><a href="/pages/terms-of-service">Terms of Service</a></li>
</ul>
</div>
<div class="footerColumn">
<h2>Community</h2>
<ul>
<li><a href="mailto:support@bitly.com">Contact</a></li>
<li><a href="/a/report_spam">Report Abuse</a></li>
</ul>
</div>
<div class="bitlyTrademarkContainer">&copy; 2012 bitly<span class="super">TM</span>
<br/><span id='madeinnyc'>handmade in nyc</span>
</div>
</div>

<form action="" method="get">
<input type="hidden" name="_xsrf" value="ec12d1603d7c4596b4f9c6965343a946"/>
</form>

</div> <!-- end #bottom -->
</div> <!-- end #container -->
</div> <!-- end #external_container -->





</body>
</html>
